home *** CD-ROM | disk | FTP | other *** search
- SELE CURRENT
- SET INDE TO CURRNAME,CURRNMBR
- heading='current cases'
- CLEA
- @01,00 say 'position printer and hit any key'
- SET cons off
- WAIT
- SET cons on
- @01,00
- @05,00 say 'Printing report'
- @06,00 say 'please wait'
- mtitle='ATTORNEYS SHORT LIST'
- pos=40-(int(len(mtitle)/2))
- line=1
- SET devi to print
- @line,pos say mtitle
- GOTO top
- mnumber1=recno()
- SKIP 52
- mnumber2=recno()
- GOTO top
- line=4
- mstop=.t.
- pos=0
- DO WHIL line<=55
- @line,pos say file_nmbr+' '+substr(clientname,1,14)+' | '+;
- substr(reference,1,13)
- mnumber=recno()
- GOTO mnumber2
- IF .not. mstop
- GOTO mnumber
- SKIP
- line=line+1
- LOOP
- ELSE
- @line,pos+40 say file_nmbr+' '+substr(clientname,1,14)+' | '+;
- substr(reference,1,13)
- SKIP 1
- IF eof()
- mstop=.f.
- GOTO mnumber
- SKIP
- line=line+1
- LOOP
- ELSE
- mnumber2=recno()
- line=line+1
- GOTO mnumber
- SKIP
- ENDI
- ENDI
- ENDD
- @prow(),pcol() say chr(13)
- @prow(),pcol() say chr(12)
- SET devi to screen
- GOTO top
- PAGE=0
- line=99
- SET cons off
- DO WHIL .NOT. EOF()
- IF line>56
- IF page>=1
- EJEC
- ENDI
- page=page+1
- SET PRIN ON
- ?
- ?'PAGE '+STR(PAGE)
- ?' CURRENT CASES FOR SECRETARY'
- ? DATE()
- ?
- ?
- ?
- SET PRIN OFF
- STOR 6 to line
- ENDI
- SET PRIN ON
- ? TRIM(CLIENTNAME)+' -'+TRIM(CSTREET)+'- '+TRIM(CCITY_ST)
- ? ' '+FILE_NMBR,CPHONE+' '+REFERENCE
- ?
- SET PRIN OFF
- LINE=LINE+3
- SKIP
- ENDD
- EJEC
- SET PRIN OFF
- SET CONS ON
- SET DEVICE to SCREEN
- STOR '012' to curr
- RETU